/**
 * Project:TODO ADD PROJECT NAME
 * Modify Information:
 * ================================================================
 * Author         Date           Description
 * ------------   ----------      --------------------------------
 * songyf        2023/4/19         TODO:
 * ================================================================
 * Copyright (c) 银联商务股份有限公司 www.chinaums.com
 */
package language.rmi.complex.server;



import language.rmi.complex.stub.Compute;
import language.rmi.complex.stub.Task;

import java.io.Serializable;
import java.rmi.RemoteException;

public class ComputeImpl implements Compute, Serializable {

    @Override
    public <T> T executeTask(Task<T> t) throws RemoteException {
        return t.execute();
    }
}
